diff options
| author | Adam Soltys <[email protected]> | 2022-08-16 16:26:05 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-08-16 16:26:05 -0700 |
| commit | 7b9bc9be24a565d513c8904237563479265aee9f (patch) | |
| tree | 4749a3d4dd845e13f23c38924752007a281775c0 /src/routes/[username] | |
| parent | 4228d55f0be8497b2f8360460d68e99f14cc7d07 (diff) | |
| download | coinos-ui-7b9bc9be24a565d513c8904237563479265aee9f.tar.gz coinos-ui-7b9bc9be24a565d513c8904237563479265aee9f.zip | |
endpoint migrations
Diffstat (limited to 'src/routes/[username]')
| -rw-r--r-- | src/routes/[username]/+page.svelte | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/routes/[username]/+page.svelte b/src/routes/[username]/+page.svelte index c0183883..973e8798 100644 --- a/src/routes/[username]/+page.svelte +++ b/src/routes/[username]/+page.svelte @@ -1,12 +1,11 @@ <script> - throw new Error("@migration task: Add data prop (https://github.com/sveltejs/kit/discussions/5774#discussioncomment-3292707)"); - import { browser } from '$app/env'; import { onMount } from 'svelte'; import { AppHeader, Icon, PageNotFound } from '$comp'; import { user } from '$lib/store'; import { copy } from '$lib/utils'; - export let username; + export let data; + $: ({ username } = data); let lightningAddress = `${username}@coinos.io`; |
